import http from '@/common/utils/request.js'

export const formRecord = {
	//获取列表
	getFormRecordList(data){
		return http.get('/system/formRecord/', {params:data, custom:{}})
	},
	//获取详情
	getItemById(data){
		return http.post('/system/formRecord/getItemById/', data, {custom:{}})
	},
	//创建
	submitForm(data){
		return http.post('/system/formRecord/submitForm/', data, {custom:{}})
	},
	//新增
	updateFormRecord(data){
		return http.post('/system/formRecord/updateAction/', data, {custom:{}})
	},
}